local other__shibei = fk.CreateSkill{
  name = "other__shibei",
}
Fk:loadTranslationTable{
["other__shibei"]="矢北",
[":other__shibei"]="当你装备一张装备时，有50%概率回复体力值",
}

other__shibei:addEffect(fk.CardUsing, {
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(other__shibei.name) and target == player and data.card.type == Card.TypeEquip
  end,
  on_use = function(self, event, target, player)
    local x = math.random(1, 6)
    if x > 3 then 
      if player:isWounded() then
        player.room:recover{ who = player, num = 1, skillName = other__shibei.name }
      end
    end
  end,
})

return other__shibei
